from django.conf.urls import url

from apps.users import views

urlpatterns = [
    url(r'^register/$', views.RegisterView.as_view(), name='register'),
    url(r'^login/$', views.LoginView.as_view(), name='login'),
    url(r'^logout/$', views.LogoutView.as_view(), name='logout'),
    url(r'^info/$', views.GetUserInfoView.as_view(), name='user_info'),
    url(r'^base_info/$', views.BaseInfoView.as_view(), name='base_info'),
    url(r'^pic_info/$', views.PicInfoView.as_view(), name='pic_info'),
    url(r'^user_follow/$', views.UserFollowView.as_view(), name='user_follow'),
    url(r'^user_pass/$', views.UserPassView.as_view(), name='user_pass'),
    url(r'^user_collection/$', views.UserCollectionView.as_view(), name='user_collection'),
    url(r'^news_release/$', views.UserNewsReleaseView.as_view(), name='news_release'),
    url(r'^news_list/$', views.UserNewsListView.as_view(), name='news_list'),
]
